<ion-view cache-view="false">
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title" ng-click="backToTop()">选择约局地点</h1>
    <button class="button hd-red-btn" ng-if="addr.mmAddr!=null&&addr.mmAddr!=''&&shopList&&shopList.length==0" on-touch="insertMmAddr()">完成</button>
  </ion-header-bar>
  <ion-content class="gray-bg" has-bouncing="true">
    <div class="list select-site-search">
      <label class="item item-input select-site-search-box">
        <i class="icon select-site-search-icon"></i>
        <button class="select-site-search-clear" type="button" ng-if="addr.mmAddr!=null&&addr.mmAddr!=''" ng-click="clearAddr()"></button>
        <input type="text" class="select-site-search-text" ng-model="addr.mmAddr" placeholder="请输入约局地点">
      </label>
    </div>
    <div class="list  select-site-item"  ng-repeat="item in shopList">
     <!-- myitem-checkbox <label class="mycheckbox" on-touch="selectMmAddr($index)">
        <em class="product-item-checkbox" ng-class="{'active':item.selected}">
          <input type="checkbox"/>
        </em>
      </label> href="#/shop-details/{{item.shop_id}}"-->
      <a class="item item-thumbnail-left select-site-li" ng-click="selectShop($index)">
        <div class="select-site-li-pic"><img ng-src="{{picPath}}{{item.shop_img_url}}" alt=""/></div>
        <h3 class="select-site-li-tit" ng-bind="item.shop_name">富隆艺术酒窖天河北店</h3>
        <div class="select-site-li-con"><i class="select-site-li-icon"></i>
          {{item.shop_detail_addr}}</div>
      </a>
    </div>
    <ion-infinite-scroll
      on-infinite="loadMore()" ng-if="hasNextPage()"
      distance="1%"></ion-infinite-scroll>
  </ion-content>
</ion-view>
